package com.buer.storage.dto;


import com.buer.storage.entity.CarCategorytwo;
import com.buer.storage.entity.CategoryTwo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarCategoryDto {
    private int categoryId;
    private String categoryNumber;
    private String categoryName;
    private String categoryRemark;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date categoryTime;
    private CarCategorytwo[] carCategorytwos;
}
